CREATE PROCEDURE coreWFTasksExistForDefinitionID
(
	@id int
)
AS
	SELECT COUNT(PK_ID) as TaskCount FROM WFTasks WHERE FK_DefinitionID=@id;
